package ${packageName};

import com.zxn.presenter.view.BaseActivity;
import android.os.Bundle;
import android.content.Context;
import android.content.Intent;
<#if applicationPackage??>
import ${applicationPackage}.R;
</#if>
<#if includeCppSupport!false>
</#if>
/**
 *	
 * Created by zxn on ${.now}.
 */
public class ${activityClass} extends BaseActivity {

    private static final String ARG_PARAM1 = "param1";
    private String mParam1;

	public static void jumpTo(Context context,String param1) {
        Intent intent = new Intent(context, ${activityClass}.class);
        intent.putExtra(ARG_PARAM1, param1);
        context.startActivity(intent);
    }

    public static void jumpTo(Context context) {
        Intent intent = new Intent(context, ${activityClass}.class);
        context.startActivity(intent);
    }


    @Override
    protected int getLayoutResId() {
        return R.layout.${layoutName};
    }
    

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
		mParam1 = getIntent().getStringExtra(ARG_PARAM1);
    }
}
